package cn.relx.basic.constant;

public class BaseConstans {
    public class SmsConstant{
        //用户名a932984913
        public static final String UID = "a932984913";
        //短信密钥488583416617EE9A99300F75B0C4939B
        public static final String KEY = "488583416617EE9A99300F75B0C4939B";
    }
    public class VerifyCodeConstant {
        //用于拼接手机号的业务，拼接手机号后获取redis中手机验证码值
        public static final String BUSINESS_REGISTER_PREFIX = "register:";

        public static final String BUSINESS_BINDER_PREFIX = "binder:";
    }

    public class wechatConstant {
        //微信第三方平台的appid
        public static final String APPID = "wxd853562a0548a7d0";
        //微信第三方平台的secret
        public static final String SECRET = "4a5d5615f93f24bdba2ba8534642dbb6";
        //获取access_token的请求地址
        public static final String TOKEN_URL = "https://api.weixin.qq.com/sns/oauth2/access_token?appid=%s&secret=%s&code=%s&grant_type=authorization_code";
        //微信登陆请求获取用户信息
        public static final String USER_URL = "https://api.weixin.qq.com/sns/userinfo?access_token=ACCESS_TOKEN&openid=OPENID";

    }
}
